<?php
function htmlspec($src) {
	return htmlspecialchars($src, ENT_COMPAT, 'UTF-8');
}

function make_blog_url($blogger_id, $user_url) {
	if(is_null($user_url) || strlen($user_url) == 0) {
		return '/' . $blogger_id;
	} else {
		return '/' . $user_url;
	}
}
?>